/* CodeBuilder代码生成器 生成时间：2011-12-07 00:18:59 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
    /// TB_Feelings:感情 实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Feelings
    {
        public Feelings()
        { }
        #region Model
        private Int32? _id;
        private string _classid;
        private Int32? _userid;
        private string _title;
        private string _tag;
        private string _content;
        private Int32? _hits;
        private Boolean? _ispass;
        private Int32? _lovenum;
        private Int32? _commentnum;
        private DateTime? _addtime;
        /// <summary>
        /// 主键
        /// </summary>
        [SqlField("ID", SqlDbType.Int, 4)]
        public Int32? ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 类型ID
        /// </summary>
        [SqlField("ClassID", SqlDbType.NVarChar, 1000)]
        public string ClassID
        {
            set { _classid = value; }
            get { return _classid; }
        }
        /// <summary>
        /// 会员ID
        /// </summary>
        [SqlField("UserID", SqlDbType.Int, 4)]
        public Int32? UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        [SqlField("Title", SqlDbType.NVarChar, 200)]
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// Tag标签
        /// </summary>
        [SqlField("Tag", SqlDbType.NVarChar, 200)]
        public string Tag
        {
            set { _tag = value; }
            get { return _tag; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        [SqlField("Content", SqlDbType.NText)]
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 浏览数
        /// </summary>
        [SqlField("Hits", SqlDbType.Int, 4)]
        public Int32? Hits
        {
            set { _hits = value; }
            get { return _hits; }
        }
        /// <summary>
        /// 审核
        /// </summary>
        [SqlField("Hits", SqlDbType.Int, 4)]
        public Boolean? IsPass
        {
            set { _ispass = value; }
            get { return _ispass; }
        }
        /// <summary>
        /// 喜欢数
        /// </summary>
        [SqlField("LoveNum", SqlDbType.Int, 4)]
        public Int32? LoveNum
        {
            set { _lovenum = value; }
            get { return _lovenum; }
        }
        /// <summary>
        /// 评论数
        /// </summary>
        [SqlField("CommentNum", SqlDbType.Int, 4)]
        public Int32? CommentNum
        {
            set { _commentnum = value; }
            get { return _commentnum; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        [SqlField("AddTime", SqlDbType.DateTime, 8)]
        public DateTime? AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        #endregion Model
    }
}